package com.example.xgai.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xuguang
 */
@RestController
@RequestMapping("/test")
public class TestController {

    /**
     * 测试接口 hello
     */
    @PostMapping("/hello")
    public String hello() {
        return "hello world";
    }

}
